package com.firexxx.study.designmodel.dutychain;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/11/14 14:52
 */
public class Main {

    public static void main(String[] args) {
        OneHandler oneHandler = new OneHandler();
        TwoHandler twoHandler = new TwoHandler();
        oneHandler.setNext(twoHandler);

        oneHandler.handle("two");
    }
}